.el-header {
    position: fixed;
    z-index: 5;
    top: 0;
    width: 100%;
    height: 80px !important;
    box-shadow: 0 1px 2px rgb(0 0 0 / 10%);
    background-color: white;

    /* 纵向居中 */
    align-items: center;
}

#container2 {
    margin-top: 80px;
}

.el-aside {
    width: auto !important;
    color: #333;
    text-align: center;
    line-height: 200px;
}

.el-main {
    padding: 0;
    width: auto;
    background-color: rgb(240, 240, 240);
}

#logo {
    position: absolute;
    display: block;
    left: 50px;
    /* width: 80px; */
    height: 70px;
}

img {
    width: 100%;
    height: 100%;
}

#name {
    font-family: "wy", serif;
    position: absolute;
    display: block;
    left: 150px;
    height: 80px;

    font-size: 25px;
    font-weight: 700;
    line-height: 80px;
    color: gray;
}

#user {
    position: absolute;
    display: block;
    right: 100px;
    line-height: 80px !important;
}

.uName {
    font-size: 20px;
}

.el-avatar {
    position: absolute;
    transform: translate(-120%, 50%);
    background-color: transparent;
    border: rgba(0, 0, 0, 0.267) 1px solid;
}

.el-icon-arrow-down {
    font-size: 20px;
}

/* .el-dropdown-menu {
    width: 100px !important;
} */
/* .el-dropdown-menu,
.el-dropdown-item {
    background-color: #fff;
} */

.drop:hover {
    background-color: #2c9678 !important;
    color: white !important;
}

#collapse_btn {
    position: absolute;
}

.el-button {
    margin: 10px;
    padding: 0;
    font-size: 30px;
    background-color: transparent;
    border: 0;
}

.el-menu {
    height: calc(100vh - 80px);
    overflow: auto;
}

/* 隐藏水平滚动条，同时允许垂直滚动条： */
.el-menu::-webkit-scrollbar {
    display: none;
    /* Chrome Safari */
}

.el-menu {
    scrollbar-width: none;
    /* firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
    overflow-x: hidden;
    overflow-y: auto;
}

.el-menu-vertical-demo:not(.el-menu--collapse) {
    width: 180px;
}

.el-menu-item,
.el-submenu {
    text-align: left;
}

/* 子节点选中样式(前面只有一级，后面子级) */
.el-submenu .el-menu-item-group .el-menu-item.is-active {
    color: #2c9678 !important;
    font-weight: 700;
}

/* 子节点选中鼠标移入样式 */
.el-submenu .el-menu-item-group .el-menu-item.is-active:hover {
    background-color: #2c9678 !important;
    color: white !important;
}

/* 子节点鼠标移入样式 */
.el-menu-item:hover {
    background-color: #2c9678 !important;
    color: white !important;
}


@media screen and (max-width: 600px) {
    #name {
        display: none;
    }

    #user {
        right: 50px;
    }
}

@media screen and (max-width: 500px) {
    #user {
        right: 10px;
    }
}